import Vue from 'vue'
import ElementUI from 'element-ui'
//import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/display.css'
import locale from 'element-ui/lib/locale/lang/zh-CN'

import '@/styles/element-variables.scss'
import _ from 'lodash'

Vue.config.productionTip = false
Vue.prototype.$EventBus = new Vue()
Vue.prototype._ = _

import DateFormat from '@/components/DateFormat'
Vue.component("DateFormat", DateFormat)

Vue.use(ElementUI, {
  size: 'small',
  locale,
})
